package cn.occgmat.dao;

import cn.occgmat.entity.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 持久层接口
 *
 * @author Administrator
 */
public interface AdminDao {

    List<Admin> findAllLimit(@Param("startPage") int startPage, @Param("limit") int limit);

    int getCount();

    Admin findLogin(Admin admin);

    Admin findById(long id);

    int setAdminState(Admin admin);

    int adminUpdate(Admin admin);

}
